
#ifndef _MEMBER_BTEXTURE_H_
#define _MEMBER_BTEXTURE_H_

#include <BOpenGL>
#include <BTexture>
#include <BImage>

#define texture_member(texture)		((member_BTexture*)((BTexture*)texture)->_ptr)

namespace BWE
{
	class member_BTexture
	{
	public:
		member_BTexture(BTexture* texture);
		~member_BTexture();

		BTexture*			boss;
		bool				dirty;
		BColor				blendColor;
		BTexture::Blend		blend;
		BTexture::Filter	filter;
		BTexture::Wrap		wrap;
		bool				mipmap;
		GLuint				tbo;

	};
}

#endif
